<!doctype html>
<html lang="{{str_replace('_','-',app()->getLocale())}}">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="description" content="@yield('description',setting('seo_description','Laravel学习爱好者'))">
    <meta name="keywords" content="@yield('keyword',setting('seo_keywords','laravel,php'))">
    <meta name="csrf" content="{{csrf_token()}}">
    <title>@yield('title','Luntan1') - {{setting('site_name','Laravel进阶项目')}}</title>
    <link rel="stylesheet" href="{{mix('css/app.css')}}">
    @yield('styles')
</head>
<body>
    <div id="app" class="{{route_class()}}-page">
        @include('layouts._header')
        <div class="container">
            @include('shared._messages')
            @yield('content')
        </div>
        @include('layouts._footer')
    </div>

    <script src="{{mix('js/app.js')}}"></script>
    @yield('scripts')

</body>
</html>
